﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.SWSendMail.Dto
{
    [ExcelExporter(Name = "数电发票查询报表", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class SearchOutPutDto
    {
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
        [ExporterHeader(DisplayName = "申请编号")]
        public string InstanceNumber { get; set; }
        [ExporterHeader(DisplayName = "申请姓名")]
        public string UserName { get; set; }
        [ExporterHeader(DisplayName = "上级领导")]
        public string bossName { get; set; }
        [ExporterHeader(DisplayName = "开始时间(查)")]
        public string beginDate { get; set; }
        [ExporterHeader(DisplayName = "结束时间(查)")]
        public string endDate { get; set; }
        /// <summary>
        /// 购买方名称
        /// </summary>
        [ExporterHeader(DisplayName = "购方公司名称(查)")]
        public string goumaiName { get; set; }
        /// <summary>
        ///  销售公司代码
        /// </summary>
        [ExporterHeader(DisplayName = "销方公司代码(查)")]
        public string xiaofangCompanyCode { get; set; }

        /// <summary>
        /// 购买方公司代码
        /// </summary>
        [ExporterHeader(DisplayName = "购方公司代码(查)")]
        public string goumaiCompanyCode { get; set; }
        /// <summary>
        /// 销方名称
        /// </summary>
        [ExporterHeader(DisplayName = "销方公司名称(查)")]
        public string xiaofangName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public string AddTime { get; set; }
        /// <summary>
        ///  全电发票号码
        /// </summary>
        [ExporterHeader(DisplayName = "数电发票号码(查)")]
        public string SearchelectricInvoiceCode { get; set; }
        /// <summary>
        ///  全电发票号码
        /// </summary>
        [ExporterHeader(DisplayName = "数电发票号码")]
        public string SendelectricInvoiceCode { get; set; }
        /// <summary>
        /// 开票日期
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string invoiceDate { get; set; }
        /// <summary>
        ///  销方公司代码
        /// </summary>
        [ExporterHeader(DisplayName = "销方公司代码")]
        public string sellerCompanyCode { get; set; }
        /// <summary>
        ///  销方名称
        /// </summary>
        [ExporterHeader(DisplayName = "销方公司代码名称")]
        public string sellerName { get; set; }
        /// <summary>
        ///  购买方名称
        /// </summary>
        [ExporterHeader(DisplayName = "购方公司代码名称")]
        public string buyerName { get; set; }

        /// <summary>
        /// 购买方公司代码
        /// </summary>
        [ExporterHeader(DisplayName = "购方公司代码")]
        public string buyerCompanyCode { get; set; }
    }
}
